package com.gemantic.task.service;



import java.util.List;


import com.gemantic.task.model.XxlJobGroup;
import com.gemantic.task.model.XxlJobInfo;


public interface XxlTaskService {


    String add(XxlJobInfo jobInfo);


    String update(XxlJobInfo jobInfo);


    String start(int id);

    String stop(int id);

    XxlJobInfo loadById(int id);

    List<String> nextTriggerTime(String scheduleType, String scheduleConf);

    XxlJobGroup findJobGroupByAppName(String appName);
}
